package com.smartfactory.sail.service.impl;

import com.smartfactory.sail.entity.OrderLogistics;
import com.smartfactory.sail.mapper.OrderLogisticsMapper;
import com.smartfactory.sail.service.IOrderLogisticsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.smartfactory.sail.vo.order.PackingDetailResp;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 王巨壁
 * @since 2019-07-24
 */
@Service
public class OrderLogisticsServiceImpl extends ServiceImpl<OrderLogisticsMapper, OrderLogistics> implements IOrderLogisticsService {
    private OrderLogisticsMapper orderLogisticsMapper;

    public OrderLogisticsServiceImpl(OrderLogisticsMapper orderLogisticsMapper) {
        this.orderLogisticsMapper = orderLogisticsMapper;
    }

    @Override
    public List<PackingDetailResp> orderLogisticsDetail(long logisticsId) {
        return orderLogisticsMapper.orderLogisticsDetail(logisticsId);
    }
}
